{include file="Public:header"/}


<div class="col-sm-12 widget-container-span">
    <div class="widget-box transparent">
        <div class="widget-header">
            <div class="widget-toolbar no-border">
                <ul class="nav nav-tabs" id="myTab">
                    <li class="active"><a data-toggle="tab" href="#home1">奖励设置</a></li>
                    <!--<li><a data-toggle="tab" href="#home2">添加/修改商品</a></li>-->
                    <!--<li><a data-toggle="tab" href="#home3">商品分销佣金</a></li>-->
                </ul>
            </div>
        </div>

        <div class="widget-body">
            <div class="widget-main padding-12 no-padding-left no-padding-right">
                <div class="tab-content padding-4">
                    <div id="home1" class="tab-pane in active">
                        <div class="row">
                            <div class="col-xs-12 no-padding-right">
                                <div class="table-responsive">
                                    <form class="form-horizontal" role="form" action="/Admin/Wanfa/jlsave" method="post">
                                    <table id="sample-table-1"
                                           class="table table-striped table-bordered table-hover">
                                        <thead>
                                        <tr>
                                            <th class="center"><label>
                                                    启用</span>
                                            </label></th>
                                            <th style="display: none">id</th>
                                            <th>开数字</th>
                                            <th>奖励倍数</th>


                                        </tr>
                                        </thead>

                                        <tbody>
                                        {volist name="result" id="result"}

                                                <td class="center"><label>
                                                    {if condition="$result.state eq 0"}
                                                    <input name="state{$result.id}" id="state{$result.id}" type="checkbox" class="ace" value="0"> <span class="lbl"></span>
                                                    {else /}
                                                    <input name="state{$result.id}" id="state{$result.id}" type="checkbox" class="ace" checked="checked" value="1"> <span class="lbl"></span>
                                                    {/if}

                                                </label></td>
                                                <td style="display: none"><input name="id{$result.id}" id="id{$result.id}" type="text" value="{$result.id}"></input></td>
                                                <td><input name="number{$result.id}" id="number{$result.id}" type="text" value="{$result.number}"></input></td>
                                                <td><input name="multiple{$result.id}" id="multiple{$result.id}" type="text" value="{$result.multiple}"></input></td>
                                            </tr>
                                        {/volist}
                                        </tbody>
                                    </table>
                                    <div class="clearfix form-actions">
                                        <div class="col-md-offset-3 col-md-9">
                                            <button class="btn btn-info" type="submit">
                                                <i class="icon-ok bigger-110"></i> 提交
                                            </button>

                                            &nbsp; &nbsp; &nbsp;
                                            <button class="btn" type="reset">
                                                <i class="icon-undo bigger-110"></i> 取消
                                            </button>
                                        </div>
                                    </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


</body>
</html>